<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<{$lsm}>foreach from=$<{$arrayName|escape}> item=<{$insideForeachItemName}> name=foo<{$rsm}> 
&lt;tr class=&quot;<{$lsm}>if $smarty.foreach.foo.index %2==0<{$rsm}><{$class1}><{$lsm}>else<{$rsm}><{$class2}><{$lsm}>/if<{$rsm}>&quot;&gt;
<{foreach from=$attributes item=att name=foo}> 
&lt;td&gt; <{if $httpurl!=""}><{$httpurl|escape}><{/if}><{$lsm}>$<{$insideForeachItemName}>-&gt;<{$att->attribute}>|escape<{$rsm}><{if $httpurl!=""}>&lt;/a&gt;<{/if}> &lt;/td&gt;
<{/foreach}> 
&lt;/tr&gt;
<{$lsm}>/foreach<{$rsm}> 
<br />
<br /></body>
</html>
